Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Specify the WinSock Database Files Location (Windows NT/2000/XP)
Category: Home > Network > Clients

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This parameter specifies the path to the standard internet database files (HOSTS, LMHOSTS, NETWORKS, PROTOCOLS) used by the Windows Sockets interface.

Open your registry and find the key below.

Create a new Expanded String value, or modify the existing value called 'DatabasePath' using the settings below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Note: This directory must be created and any files moved manually.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DatabasePathREG_EXPAND_SZ%SystemRoot%\system32\drivers\etc|
-
|HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]
Name: DatabasePath
Type: REG_EXPAND_SZ (Expanded String Value)
Value: Filename

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: March 26, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License